﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace fsw.Model
{
    /// <summary>
    /// 管理员
    /// </summary>
    [Serializable]
    public partial class Admin
    {
        public Admin() { }
        /// <summary>
        /// 自动编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 最后一次登录ip
        /// </summary>
        public string LastIP { get; set; }
        /// <summary>
        /// 最后一次登录时间
        /// </summary>
        public int LastTime { get; set; }
        /// <summary>
        /// 登录次数
        /// </summary>
        public int Logins { get; set; }
        /// <summary>
        /// 管理员类别
        /// </summary>
        public int TypeId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int isStatus { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public int AddTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 项目管理
        /// </summary>
        private List<Admin_Project> _Admin_Project;
        public List<Admin_Project> Admin_Project
        {
            set { _Admin_Project = value; }
            get { return _Admin_Project; }

        }
        /// <summary>
        /// 模型管理
        /// </summary>
        private List<Admin_Mould> _Admin_Mould;
        public List<Admin_Mould> Admin_Mould
        {
            set { _Admin_Mould = value; }
            get { return _Admin_Mould; }
        }
    }
}
